package com.seek.util;

import java.math.BigDecimal;

public class DoubleUtil {

	public static double format(double d) {
		BigDecimal bg = new BigDecimal(d);  
        return bg.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();  
	}
}
